package com.guigu.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 司机驾驶证表
 * </p>
 *
 * @author TaoLong
 * @since 2021-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PdTruckDriverLicense对象", description="司机驾驶证表")
@TableName("pd_truck_driver_license")
public class TruckDriverLicense implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "准驾车型")
    private String allowableType;

    @ApiModelProperty(value = "初次领证日期")
    private Date initialCertificateDate;

    @ApiModelProperty(value = "有效期限")
    private String validPeriod;

    @ApiModelProperty(value = "驾驶证号")
    private String licenseNumber;

    @ApiModelProperty(value = "驾龄")
    private Integer driverAge;

    @ApiModelProperty(value = "驾驶证类型")
    private String licenseType;

    @ApiModelProperty(value = "从业资格证信息")
    private String qualificationCertificate;

    @ApiModelProperty(value = "入场证信息")
    private String passCertificate;

    @ApiModelProperty(value = "图片")
    private String picture;


}
